package com.zjj.learn.designmodel.pattern.singleton.demo1;

/**
 * *** @author zjj_admin
 * *** 2022/4/5 14:52
 */
public class ClientTest1 {

    public static void main(String[] args) {

        Singleton instance = Singleton.getInstance();

        Singleton instance1 = Singleton.getInstance();
        System.out.println("instance = " + instance);
        System.out.println("instance1 = " + instance1);
        System.out.println(instance == instance1);
    }
}
